package com.zrgj.manager.service;

import com.zrgj.domain.ShoppingCar;

import java.util.List;

public interface IShoppingCarService {
    List<ShoppingCar> selectByUser(Integer userId);

    ShoppingCar insert(ShoppingCar cart);

    void update(ShoppingCar cart);

    ShoppingCar selectByCartId(Integer cartId);

    void delete(Integer carId);
}
